//
//  MoreViewController.m
//  CleanerAir_Project
//
//  Created by mac on 16/4/28.
//  Copyright © 2016年 Beijing Colin El Internet. All rights reserved.
//

#import "MoreViewController.h"
#import "CAMore_AboutUsVC.h"
#import "CustomerServiceHelpVC.h"

@interface MoreViewController ()

@end

@implementation MoreViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.leftBarButtonItem = nil;
    //标题
    self.titlelabel.text=@"更多";

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


//关于我们
- (IBAction)aboutUs:(id)sender {
    
    CAMore_AboutUsVC *aboutUsVC = [[CAMore_AboutUsVC alloc] init];
    
    self.hidesBottomBarWhenPushed = YES;
    [self.navigationController pushViewController:aboutUsVC animated:YES];
    self.hidesBottomBarWhenPushed = NO;
}

//客服与支持
- (IBAction)help:(id)sender {
    
    CustomerServiceHelpVC *vc = [[CustomerServiceHelpVC alloc] init];
    
    vc.urlStr = GET_URLString(@"/App_wap/Help/list.html");
    
    self.hidesBottomBarWhenPushed = YES;
    [self.navigationController pushViewController:vc animated:YES];
    self.hidesBottomBarWhenPushed = NO;
}

//产品介绍
- (IBAction)productIntroduction:(id)sender {
    CustomerServiceHelpVC *vc = [[CustomerServiceHelpVC alloc] init];
    
    vc.urlStr = GET_URLString(@"/App_wap/Dervise/list.html");
    
    self.hidesBottomBarWhenPushed = YES;
    [self.navigationController pushViewController:vc animated:YES];
    self.hidesBottomBarWhenPushed = NO;
    
}

//战略合作
- (IBAction)strategicCooperation:(id)sender {
    CustomerServiceHelpVC *vc = [[CustomerServiceHelpVC alloc] init];
    
    vc.urlStr = GET_URLString(@"/App_wap/About/cooperation.html");
    self.hidesBottomBarWhenPushed = YES;
    [self.navigationController pushViewController:vc animated:YES];
    self.hidesBottomBarWhenPushed = NO;
    
}

//慈善
- (IBAction)charity:(id)sender {
    
    CustomerServiceHelpVC *vc = [[CustomerServiceHelpVC alloc] init];
    
        vc.urlStr = GET_URLString(@"/App_wap/About/charity.html");
    self.hidesBottomBarWhenPushed = YES;
    [self.navigationController pushViewController:vc animated:YES];
    self.hidesBottomBarWhenPushed = NO;
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
